OnTime REST API
OnTime REST API / REST Endpoints Resource Group / api/vehicles/{id} (Get)
In This Topic
    Getapi/vehicles/{id}
    In This Topic

    Resource Path: /sites/{company-id}/api/vehicles/{id}

    Uri: https://secure.ontime360.com/sites/{company-id}/api/vehicles/{id}

    Description
    Retrieves a single Vehicle object assigned to a given identifier.
    Parameters
    NameDescriptionData Type
    The unique identifier of a Vehicle as a Guid.string
    200 Response

    The response body is of type Vehicle.

    Returns a comprehensive Vehicle object.

    Overview

    Vehicle
    Represents a comprehensive Vehicle record within the OnTime API.
    ID : string
    The unique identifier for this Vehicle record.
    FleetID : string
    Gets the fleet identifier of the current vehicle.
    Type : string
    The type or category name assigned to this Vehicle.
    Capacity : string
    The loading capacity of this Vehicle.
    OdometerReading : integer
    The current Odometer reading of this Vehicle.
    VehicleIdentificationNumber : string
    The vehicle identification number (VIN) assigned to this Vehicle.
    RegistrationPlate : string
    The license plate number of this Vehicle.
    Comments : string
    Any additional comments associated with this Vehicle.
    Manufacturer : string
    Gets the manufacturer of the current vehicle.
    Model : string
    The identifying model of this Vehicle defined by the manufacturer.
    Year : integer
    The year that this Vehicle was manufactured.
    Owner : string
    The name of the party that owns this Vehicle.
    IsCompanyVehicle : boolean
    Indicates if this Vehicle is company-owned.
    Capabilities : string
    A short description detailing the capabilities of this Vehicle.
    Fault Responses
    FaultDescription
    Request was improperly formatted, contained invalid data, or contained incorrect values. See response body for more information.
    Authorization key is invalid or no longer exists.
    Authorization key does not have permission to perform this action, or does not have permission to access the requested data. See response body for more information.
    See Also